Convention Plugin
プロジェクトで同じような設定をそれぞれの
buildscript
に書くのではなく、共通の
Plugin
として切り出して適用するだけで同じ設定にできるようにしたもの。
プラグインという名前がついているが、つまるところ普通のアプリケーション開発における共通化。
https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html
https://docs.gradle.org/current/samples/sample_sharing_convention_plugins_with_build_logic.html